#ifndef IAUDIO_HPP
#define IAUDIO_HPP

#include <QtMultimedia/qaudiodeviceinfo.h>
#include <QIODevice>
#include <qstring.h>
#include <qiodevice.h>

/**
 * @brief
 * This interface should be impelemnted by all the classes which works with audio data.
 * Implementing this interface mean client can obtain audio data of some format from the class.
 *
 */
class IAudio : public virtual QIODevice
{
public:
   // IAudio();
    /**
     * @brief
     *
     * @return QAudioFormat
     */
    virtual QAudioFormat    getAudioFormat()    =   0;
    virtual bool            isReady()           =   0;
    virtual QString         getState()          =   0;
private:

};

#endif // IAUDIO_H
